package com.ruoyi.crm.service.impl;

import com.ruoyi.crm.domain.Product;
import com.ruoyi.crm.mapper.ProductDao;
import com.ruoyi.crm.service.ProductSercvice;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ProductServiceImpl implements ProductSercvice {

    @Autowired
    private ProductDao productDao;

    @Override
    public Product getProductInfoByName(String productName) {
        return productDao.getProductInfoByName(productName);
    }
}
